<%@ page language="java" pageEncoding="UTF-8" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html 	xmlns:html="http://www.w3.org/1999/xhtml" 
		xmlns:html5="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%
	String basePath = (String) request.getContextPath();
%>
<title>Administration</title>

<link media="all" type="text/css" rel="stylesheet" href="<%=basePath %>/resources/css/general_admin.css" />
<link media="all" type="text/css" rel="stylesheet" href="<%=basePath %>/resources/css/jquery-ui-1.8.19.custom.css"/>

<script type="text/javascript" src="<%=basePath %>/resources/js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="<%=basePath %>/resources/js/jquery-ui-1.8.19.custom.js"></script>
<script type="text/javascript" src="<%=basePath %>/resources/js/jquery.validate.js"></script>

<script language="javascript">
	var javascriptContextPath = "<%=request.getContextPath() %>";
</script>

</head>
<script language="javascript">
var displayedSubMenu = null;
var displayedMenu = null;
function menuClick(mainMenu, subMenuId){
	if(displayedMenu == null){
		displayedMenu = document.getElementById("menuDefault");
	}
	
	if(mainMenu == displayedMenu){
		return;
	}
	
	var subMenu =  document.getElementById(subMenuId);
	if(displayedSubMenu == null){
		displayedSubMenu = document.getElementById("user_sub");
	}

	subMenu.style.display = "block";
	displayedSubMenu.style.display = "none";

	if(mainMenu) {
		mainMenu.className = "current";
	}
	if(displayedMenu) displayedMenu.className = "";
	
	displayedSubMenu = subMenu;
	displayedMenu = mainMenu;
}
</script>
<body>
	<div class="main">
	<!-- HEADER -->
		<tiles:insertAttribute name="skyemart.admin.header"/>
	<!-- END HEADER -->
	<!-- MENU -->
		<tiles:insertAttribute name="skyemart.admin.menu"/>
	<!-- END MENU -->
	<!-- BODY -->
		<div class="content">
			<!-- TOOL BAR -->
			<tiles:insertAttribute name="skyemart.admin.toolbar"/>
			<!-- END TOOL BAR -->
			<div id="bodyContentDiv" class="content_admin">
				<tiles:insertAttribute name="skyemart.admin.body"/>
			</div>
		</div>
	<!-- END BODY -->
	<!-- FOOTER -->
		<tiles:insertAttribute name="skyemart.admin.footer"/>
	<!-- END FOOTER -->
	</div>
</body>
</html>
